export type colorItem = {
  background: string
  color: string
}
const list: colorItem[] = [
  {
    background: '#FAD8D6',
    color: '#E83A30'
  },
  {
    background: '#D5FAF2',
    color: '#2DE8BD '
  },
  {
    background: '#D8E5FF',
    color: '#3D7EFF'
  },
  {
    background: '#D6FADB',
    color: '#31E749'
  },
  {
    background: '#FFEDD4',
    color: '#FFA726'
  },
  {
    background: '#FAD5E8',
    color: '#E72F8C'
  },
  {
    background: '#E7D5FA',
    color: '#892FE8'
  },
  {
    background: '#FFE2D9',
    color: '#FF7043'
  },
  {
    background: '#FFF4D4',
    color: '#FFCA28'
  }
]

export default list

export function getColor(): colorItem {
  return list[(Math.random() * list.length) | 0]
}
